$webwork.htmlEncode($page.space.name) : 4 Refractoring
This page last changed on Oct 24, 2006 by cholmes.
Refactoring is best explored using the excellent book writen my Martin Fowler. We are fans of refactoring in the GeoServer Project, we like to start with the minimal design and refactor when needed, instead of trying to anticipate everything in advance. If you've started a class that spirals out of control and could be better designed, then have a go at refactoring. Just be sure it passes all the tests.
This is of utmost importance when refactoring, so no history is lost. RefactorItTo ease refactoring you can use RefactorIt which provides tools to:
More details can be found from the online help. RefactorIt is commercial, but provides free licences for Open Source projects like Geotools. See the RefactorIt web pages for details. It can be plugged into a variety of IDEs, including Netbeans. Installation in to GEOTOOLS:Netbeans fairly strait forward through Tools -> RefactorIt -> Project Options, although setting up soucepath and classpath is a difficult if some of the geotools files don't compile. You will need to either remove the offending files, get them to compile or remove them from RefactorIt's sourcepath. Eclipse RefactoringEclipse has many refactorings available, mostly through context menus. |
Document generated by Confluence on Jan 16, 2008 23:26 |